import math

from PygameCrew import _font, rdim, reverse

game_version=(0, 7, 4, 2)
release_date="7/3/2022"
deprecation=True
version_string='.'.join(map(str,game_version))+ ("(In Development)"if len(game_version) == 4 else "")


FONT=_font[20]
WHITE = (255, 255, 255)
GREY=(200,200,200)
BLACK = (0, 0, 0)
GREEN=(0,255,0)
ORANGE=(248, 178, 36)

BACKGROUND = (73, 193, 27)
BACKGROUND=rdim(BACKGROUND,0.7)
EDIT_BACKGROUND = (100, 125, 150)
EDIT_BACKGROUND=rdim(EDIT_BACKGROUND,0.5)
REVEDIT_BACKGROUND = reverse(EDIT_BACKGROUND)
REVEDIT_BACKGROUND_DIMMED = rdim(REVEDIT_BACKGROUND,0.5)
REVBACK=reverse(BACKGROUND)
REVLIGHT=rdim(REVBACK,1.5)

PLATFORM = (200, 168, 0)
PLATFORM=rdim(PLATFORM,0.7)
PUSH_BLOCK=rdim(PLATFORM,1.5)

KILLER=(110, 28, 50)
KILLER=rdim(KILLER,0.7)

TRIGGER=(176, 56, 143)
TRIGGER=rdim(TRIGGER,1.3)

CONVEYOR=(0,103,150)

WIND=(255,149,183)

WARP=(47, 176, 103)

WATER_BLUE=(10,10,255)

PLAYERCOLOR = (0, 180, 231)
TEMP = (111,111,111)
TEMP2=(222,222,222)
FPS=50

HOOK_SIZE=(20,40)

class LevelDesigningError(Exception):...

WARNING_DISTANCE=7
SQRT_DISTANCE=WARNING_DISTANCE
WATER_COMMON=3

SEPARATOR=":"
ANTI="a"
INSTANT="i"
RAPID="r"

DOGSOCUTEURL="http://dogsocute.icu/"

ABOUT_MESSAGE = """Version: %s
Release Date: %s"""%(version_string,release_date)

Default:dict={"location":"instructions"}

default_suffix=".lev"

direct_dirs=(
    "auto/",
    "official/",
    "default/",
    "collection/",
    "all/",
            )
support_suffix=(".lev",".py",".pyw",".level",".pylev",".pylevel",".elivo",".elivolev",".elivolevel",".dogsocutepy")
blocked_names=("__default","elivo","base","blank","constants","elivoeditor","debugger_views",
               "level","python","pyw","__pycache__","asset","control",
               "editor_control","instructions","_default"
                )
RealMotion=("single","repeat","turn")
StructureMotion=("appear","chase","aiming")
